.class public Lcom/estrongs/android/pop/app/videoeditor/k;
.super Ljava/lang/Object;
.source "VideoPlayerGuide.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/pop/app/videoeditor/k$b;
    }
.end annotation


# instance fields
.field private a:Landroid/widget/PopupWindow;


# direct methods
.method public constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/videoeditor/k;)Landroid/widget/PopupWindow;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/videoeditor/k;->a:Landroid/widget/PopupWindow;

    return-object p0
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/videoeditor/k;Landroid/widget/PopupWindow;)Landroid/widget/PopupWindow;
    .locals 0

    .line 2
    iput-object p1, p0, Lcom/estrongs/android/pop/app/videoeditor/k;->a:Landroid/widget/PopupWindow;

    return-object p1
.end method

.method private a(Landroid/content/Context;)Z
    .locals 2

    .line 6
    invoke-static {p1}, Lcom/estrongs/android/pop/utils/u;->a(Landroid/content/Context;)Z

    move-result v0

    const/4 v1, 0x0

    if-nez v0, :cond_0

    return v1

    .line 7
    :cond_0
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/o;->h0()Z

    move-result v0

    if-nez v0, :cond_1

    return v1

    .line 8
    :cond_1
    invoke-static {}, Lcom/estrongs/android/util/o0;->d()Z

    move-result v0

    if-eqz v0, :cond_2

    return v1

    .line 9
    :cond_2
    invoke-static {p1}, Lcom/estrongs/android/pop/utils/t;->i(Landroid/content/Context;)Z

    move-result p1

    if-eqz p1, :cond_3

    return v1

    :cond_3
    const/4 p1, 0x1

    return p1
.end method

.method private b()Z
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/videoeditor/k;->a:Landroid/widget/PopupWindow;

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method


# virtual methods
.method public a(Landroid/app/Activity;Lcom/estrongs/android/pop/app/videoeditor/k$b;)V
    .locals 2
    .param p2    # Lcom/estrongs/android/pop/app/videoeditor/k$b;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 3
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/app/videoeditor/k;->a(Landroid/content/Context;)Z

    move-result v0

    if-nez v0, :cond_0

    return-void

    .line 4
    :cond_0
    invoke-virtual {p1}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v0

    .line 5
    new-instance v1, Lcom/estrongs/android/pop/app/videoeditor/k$a;

    invoke-direct {v1, p0, p1, p2, v0}, Lcom/estrongs/android/pop/app/videoeditor/k$a;-><init>(Lcom/estrongs/android/pop/app/videoeditor/k;Landroid/app/Activity;Lcom/estrongs/android/pop/app/videoeditor/k$b;Landroid/view/View;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->post(Ljava/lang/Runnable;)Z

    return-void
.end method

.method public a()Z
    .locals 1

    .line 10
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/videoeditor/k;->b()Z

    move-result v0

    if-nez v0, :cond_0

    const/4 v0, 0x0

    return v0

    .line 11
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/videoeditor/k;->a:Landroid/widget/PopupWindow;

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->dismiss()V

    const/4 v0, 0x0

    .line 12
    iput-object v0, p0, Lcom/estrongs/android/pop/app/videoeditor/k;->a:Landroid/widget/PopupWindow;

    const/4 v0, 0x1

    return v0
.end method
